package com.macro.mall.portal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 专属方案
 * </p>
 *
 * @author
 * @since 2021-09-23
 */
@Data
@Builder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "LoanPlan对象", description = "专属方案")
public class LoanPlan implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "业务员")
    private String openId;

    @ApiModelProperty(value = "业务员名称")
    private String busName;

    @ApiModelProperty(value = "客户名称")
    private String name;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "贷款金额")
    private BigDecimal money;

    @ApiModelProperty(value = "贷款时间")
    private String loanTime;

    @ApiModelProperty(value = "房产所在地")
    private String house;

    @ApiModelProperty(value = "公司所在地")
    private String company;

    @ApiModelProperty(value = "消费卷 id")
    private Integer rid;

    @ApiModelProperty(value = "贷款类型 1房贷  2 车贷  3工薪贷  4企业贷")
    private Integer loanType;

    @ApiModelProperty(value = "业务状态 1 办理中。2 办理成功。 3 办理失败")
    private Integer loanStatus;

    @ApiModelProperty(value = "区别备注")
    private String remake;

    @ApiModelProperty(value = "贷款金额")
    @TableField(exist = false)
    private String loanMoney;

    @ApiModelProperty(value = "佣金")
    private String commission;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "区分首页")
    @TableField(exist = false)
    private Integer judge;

    @ApiModelProperty(value = "开票金额")
    @TableField(exist = false)
    private BigDecimal invoice;


    @ApiModelProperty(value = "代发工资")
    @TableField(exist = false)
    private BigDecimal wages;


    @ApiModelProperty(value = "预算金额")
    private BigDecimal budget;

}
